<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>网络安全防护设备定期检查</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="referrer" content="never" />
		<link rel="stylesheet" href="../../../../css/mui.min.css">
		<link rel="stylesheet" href="../../static/css/common.css" />	
		<link rel="stylesheet" href="../../static/components/components.css" />	
		<link rel="stylesheet" href="../../static/css/terminalwork.css" />	
		<script src="../../../../js/mui.min.js"></script>
		<script src="../../../../js/vue.js"></script>
		<script type="text/javascript" src="../../../../js/jquery-3.2.1.min.js"></script>
		<script type="text/javascript" src="../../static/js/neiosRequst.js"></script>  <!--请求接口页面必需-->
		<script src="../../static/js/neiosCommon.js"></script>  <!--公共js页面必需-->
		<script src="../../static/js/upLoadHelper.js"></script>
		<script src="../../static/components/processLog.js"></script>
		<style>
			.defect-info-list{
				border-bottom:1px solid #ddd;
				margin:0 0 8px
			}
			.defect-info-list:last-child{
				border-bottom:none;
				margin:0
			}
			.list-head{
				width: 94vw;
				margin-left: 3vw;
				background-color: #fff;
				padding: 10px;
				margin-bottom: 10px;
			}
			.terminalwork-list{
				height:auto;
				overflow:auto;
			}
		</style>
	</head>
	<body>
		<header class="mui-bar mui-bar-nav mui-bar-nav-bg">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 id="title" class="mui-title">网络安全防护设备定期检查</h1>
		</header>
		<div class="mui-content" id="storBattery">
			<div class="flex-between list-head">
				<div class="flex-row" style="font-weight: bold;">
					<div class="icon"></div>
					本次检查记录
				</div>
			</div>
			<div id="neiosLifeWaterInfo" class="terminalwork-list">
				<div class="list" id="list">		
					<div v-for="(item,index) in list" :key="index" class="terminalwork-list-item">
						<div class="terminalwork-list-title">设备名称：{{item.deviceName}}</div>
						<div class="terminalwork-list-sec">
							<div>巡检时间：{{item.checkDate}}</div>
							<div>巡检人：{{"["+item.checkStaffCode+"]"+item.checkStaffName}}</div>
						</div>
						<div class="terminalwork-list-receivebtn" @click="upToolCheckDialogFn(item)">详情</div>
					</div>
				</div>	
			</div>
			<div class="main_box">
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">其他情况</div>
				</div>
				<div class="neios-form-item" style="margin:3vw 5vw;">
					<div class="neios-form-item-lable" style="width:30%;">其他情况 <span class="red">*</span></div>
					<div class="neios-form-item-con" style="width:70%;">
						{{elseDesc}}
					</div>
				</div>
				
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">流程日志</div>
				</div>
				<div style="margin:3vw 3vw 0">
					<processlog :processlogid='parentObject.workId'></processlog>
				</div>
				
				<div class="explain-dialog" v-if="toolCheckAddEditVisible">
					<div class="explain-in">
						<div class="explain-header">详情</div>
						<div class="explain-con">
							<div class="neios-form-item" style="margin:5vw 5vw 0;">
								<div class="neios-form-item-lable" style="width:40%;">检查日期 <span class="red">*</span></div>
								<div class="neios-form-item-con" style="width:60%;">
									{{formData.checkDate}}
								</div>
							</div>
							<div class="neios-form-item" style="margin:0 5vw;">
								<div class="neios-form-item-lable" style="width:40%;">巡视人 <span class="red">*</span></div>
								<div class="neios-form-item-con" style="width:60%;">
									{{formData.checkStaffCodeName}}
								</div>
							</div>
							<div class="neios-form-item" style="margin:0 5vw;">
								<div class="neios-form-item-lable" style="width:40%;">设备名称 <span class="red">*</span></div>
								<div class="neios-form-item-con" style="width:60%;">
									{{formData.deviceName}}
								</div>
							</div>
							<div class="neios-form-item" style="margin:0 5vw;">
								<div class="neios-form-item-lable" style="width:40%;">所需间隔 <span class="red">*</span></div>
								<div class="neios-form-item-con" style="width:60%;">
									{{formData.bay}}
								</div>
							</div>
							<div class="neios-form-item" style="margin:0 5vw;">
								<div class="neios-form-item-lable" style="width:40%;">是否警告 <span class="red">*</span></div>
								<div class="neios-form-item-con" style="width:60%;">
									{{cycleUnitChange(formData.isWarning)}}
								</div>
							</div>
							<div class="neios-form-item" style="margin:0 5vw;">
								<div class="neios-form-item-lable" style="width:50%;">运行环境是否正常 <span class="red">*</span></div>
								<div class="neios-form-item-con" style="width:50%;">
									{{cycleUnitChange(formData.isAmbientNormal)}}
								</div>
							</div>
							<div class="neios-form-item" style="margin:0 5vw;">
								<div class="neios-form-item-lable" style="width:60%;">是否有非正常业务设备 <span class="red">*</span></div>
								<div class="neios-form-item-con" style="width:40%;">
									{{cycleUnitChange(formData.isHaveAbnormalDevice)}}
								</div>
							</div>
							<div class="neios-form-item" style="margin:0 5vw;">
								<div class="neios-form-item-lable" style="width:40%;">问题记录 <span class="red">*</span></div>
								<div class="neios-form-item-con" style="width:60%;">
									{{formData.problemLog}}
								</div>
							</div>
						</div> 
						<div style="display:flex">
							<div class="explain-btn" style="flex-grow:1" @click="closeToolCheckAddEdit">关闭</div> 
						</div>
					</div>
				</div>
			</div>
			
			<div style="width: 100%;height: 60px;"></div>
			<div class="flex-between fixed-bottom">
				<button class="submit_btn" @click="goBack()">返回</button>
			</div>
		</div>
	</body>
	<script src="js/netSafeDeviceDet.js"></script>
</html>
